package com.gph.saviorframework.es.core.facet.result;

import com.gph.saviorframework.es.core.facet.AbstractFacetResult;
import com.gph.saviorframework.es.core.facet.FacetType;

import java.util.List;

@Deprecated
public class RangeResult extends AbstractFacetResult {

	private List<Range> ranges;

	public RangeResult(String name, List<Range> ranges) {
		super(name, FacetType.range);
		this.ranges = ranges;
	}

	public List<Range> getRanges() {
		return ranges;
	}
}
